package sredis

import (
	"github.com/go-redis/redis"
)

func Conn(addr string, pwd string, db int) *redis.Client {
	client := redis.NewClient(&redis.Options{
		Addr:     addr,
		Password: pwd,
		DB:       db,
	})
	return client
}
